/**
 * @Author: whflovecn
 * @Date: 2021-04-19 10:57:33
 * @LastEditTime: 2021-05-31 16:34:52
 * @LastEditors: whflovecn
 * @Description: 
 * @FilePath: \complex\app\router\login.js
 */
'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.post('/login',controller.login.login)
  router.post('/logout/:id',controller.login.logout)
  router.post('/check',controller.login.check)
  router.post('/menu',controller.login.menu)
};
